const mall = {
    state: {
        cartCount: 0
    },
    actions: {
        updateCartCount({commit},count) {
            commit('updateCartCount',count)
        }
    },
    mutations: {
        updateCartCount(state, count) {
            state.cartCount = count
        }
    }
}
export default mall